package com.java.service.center;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.common.utils.PageUtils;
import com.java.pojo.Orders;
import com.java.pojo.bo.SubmitOrderBO;
import com.java.pojo.vo.MerchantOrdersVO;
import com.java.pojo.vo.OrderStatusCountsVO;

import java.util.Map;

/**
 * 订单表;
 *
 * @author jl
 * @since 2020-10-13 11:31:41
 */
public interface MyOrdersService extends IService<Orders> {

    PageUtils queryMyOrders(String userId,Integer status,Integer pageNo,Integer size);

    void updateDeliverOrderStatus(String orderId);

    boolean updateReceiveOrderStatus(String orderId);

    boolean deleteOrder(String userId, String orderId);

    OrderStatusCountsVO getOrderStatusCounts(String userId);

    PageUtils getOrdersTrend(String userId, Integer page, Integer pageSize);
}

